package org.esti.model.dao;

import org.esti.model.AppraisalTask;

import java.util.List;

/**
 * @author Artem Loginov (logart)
 */

/**
 * DAO is used to get, save and update objects information in database.
 * This dao manage appraisal tasks.
 * Appraisal task is topic inside appraisal.
 * For example: basic OOP concept or JUnit
 */
public interface AppraisalTaskDAO {
    /**
     * Return all task for specific appraisal
     *
     * @param appraisalId identity of appraisal. Tasks suitable for this appraisal will be returned
     * @return list of appraisal task
     */
    List<AppraisalTask> getAppraisalsTaskByAppraisalId(long appraisalId);
}
